<?php
declare(strict_types=1);

namespace App\Http\Requests\Article;

use Illuminate\Foundation\Http\FormRequest;

class ArticleCateUidValidate extends FormRequest
{
    public function rules(): array
    {
        return [
            "cate_uid" => "required",
        ];
    }

    public function messages(): array
    {
        return [
            "cate_uid.required" => "类目不能为空",
        ];
    }
}
